package com.yufubao.model.dto.management.sys;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2022/12/7 21:06
 */
@Data
public class SaveRoleMenuDto {
    @NotBlank(message = "角色名称不能为空")
    private String roleName;
    @NotBlank(message = "权限字符不能为空")
    private String roleKey;
    @NotNull(message = "角色顺序不能为空")
    private Integer roleSort;
    private String status;
    private List<Long> menuIds;
    private String remark;

}
